/* ASCII D2 - render.c
   Bogdan Filipchuk
   */

#include main.h

void D2_ASCII.render(){
   glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
   glLoadIdentity();
   
   glBegin(GL_QUADS);
      glColor3f(1,0,0); glVertex3f(0,0,0);
      glColor3f(1,1,0); glVertex3f(100,0,0);
      glColor3f(1,0,1); glVertex3f(100,100,0);
      glColor3f(1,1,1); glVertex3f(0,100,0);
   glEnd();
   
   SDL_GL_SwapBuffers();
}